"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _utils = require("../utils");
var _default = exports.default = (0, _utils.createMeta)('Checkboxes', {
  title: '点击多选框',
  // priority: 996,
  props: [{
    title: '基础配置',
    type: 'group',
    display: 'accordion',
    items: (0, _utils.getNotInputPropsBasic)({
      name: 'defaultValue',
      title: {
        label: '默认值',
        tip: 'defaultValue | 默认值'
      },
      setter: 'JsonSetter'
    })
  }, _utils.optionsProp, {
    title: '其他配置',
    display: 'accordion',
    type: 'group',
    items: [{
      name: 'props.direction',
      title: {
        label: '排列方向',
        tip: '选项的排列方向'
      },
      defaultValue: 'row',
      setter: {
        componentName: 'RadioGroupSetter',
        props: {
          options: [{
            title: '水平',
            value: 'row'
          }, {
            title: '垂直',
            value: 'column'
          }]
        }
      }
    }]
  }],
  snippets: [{
    title: '点击多选',
    screenshot: 'icon-checkbox',
    schema: {
      componentName: 'Checkboxes',
      props: {
        title: '点击多选',
        type: 'array',
        props: {
          options: [{
            label: 'A',
            value: 'A'
          }, {
            label: 'B',
            value: 'B'
          }, {
            label: 'C',
            value: 'C'
          }],
          direction: 'row'
        }
      }
    }
  }]
});